package com.briup.app01.bean;
//pojo类
public class Category {
	private Long id;//id
	private String name;//栏目名称
	private String description;//栏目描述
	private Integer no;//栏目编号
	private Long parentId;//父栏目id
	
	//无参构造器
	public Category() {}

	//全参构造器
	public Category(Long id, String name, String description, Integer no, Long parentId) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.no = no;
		this.parentId = parentId;
	}

	//get/set
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getNo() {
		return no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	//toString
	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", description=" + description + ", no=" + no + ", parentId="
				+ parentId + "]";
	}

	
	
	
	
	
	
	
	
}
